package com.example.yc23.demo.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.yc23.demo.mapper.CarouselMapper;
import com.example.yc23.demo.pojo.Carousel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

@Service
public class CarouselService implements IService<Carousel> {
    @Autowired
    private CarouselMapper carouselMapper;



    @Override
    public BaseMapper<Carousel> getBaseMapper() {
        return carouselMapper;
    }


    @Override
    public boolean saveBatch(Collection<Carousel> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<Carousel> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<Carousel> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(Carousel entity) {
        return false;
    }

    @Override
    public Carousel getOne(Wrapper<Carousel> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<Carousel> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<Carousel> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public Class<Carousel> getEntityClass() {
        return null;
    }
}
